package com.sm.model;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
@Data
@ToString
public class Dynamic {

  private Integer dynamicId;
  private Integer userId;
  private String content;
  private String url;
  private Integer readNum;
  private Integer likeNum;
  private Integer collectNum;
  @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
  private Date createTime;
  @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
  private Date updateTime;
  private Integer delFlag;
  private Integer checkStatus;
  private Integer contentType;
  private String remark;
  private Integer isLike;
  private Integer isCollect;
  private String videoCoverUrl;
  private List<String> urlList;
  private Integer commentNum;
  private String dynamicName;
  private String commentName;
  //动态发布人昵称
  private String nickName;
  //动态发布人头像
  private String headLink;
  //封面
  private String cover;

  /**
   * 阿里云videoId
   */
  private String videoId;

}
